
public class Knn 
{
	public static double DistanceEuclidienne(double[] point1, double[] point2)
	{
		double distance = 0;
		
		double somme = 0;
		
		for(int i = 0; i < point1.length; i++)
		{
			somme += Math.pow((point1[i] + point2[i]),2);
		}
		
		distance = Math.sqrt(somme);
		
		return distance;
	}
		
}
